package com.zzl.oop;

/**
 * 饿汉模式
 * 运行时创建对象
 * @author Administrator
 *
 */
public class SingletonHungryMode {

	private static SingletonHungryMode singleton = new SingletonHungryMode();
	
	private SingletonHungryMode(){}
	
	public static SingletonHungryMode getInstance(){
		
		 return singleton ;
	}
	
}
